import Vue from 'vue'
import App from './App'
import store from './store'

import request from './common/request.js'
import api from './api/index.js'
import url from './common/config.js'
import wxpay from './common/wxpay.js' //微信
import wx from './common/wxshare.js' //微信分享
import jweixin from './common/jweixin.js' //微信jsdk  https://unpkg.com/jweixin-module@1.6.0/lib/index.js  下载地址
import hshare from './common/hshare.js' //分享公共方法


Vue.config.productionTip = false
Vue.prototype.$request = request
Vue.prototype.$api = api
Vue.prototype.$url = url
//微信
Vue.prototype.$wxpay = wxpay
//h5fenxaing 
Vue.prototype.$wx = wx
Vue.prototype.$jweixin = jweixin
//分享公共方法
Vue.prototype.$hshare = hshare
App.mpType = 'app'

const app = new Vue({
    ...App,
		store
})
app.$mount()
